﻿using System;
using System.Collections.Generic;
using System.Text;
using Truron.Purchase.Model;
using Truron.Purchase.Model.RemoteModel;
using Truron.Purchase.Utility;

namespace Truron.Purchase.Interface
{
    public interface IPurchase_OuterNoteService
    {
        (int count, List<Purchase_OuterNote> list) GetNoteList(string searchKey,int pageSize, int pageIndex,string searchJson,int outerStatus,List<int> ownerIds);
        Purchase_OuterNote GetPurchase_OuterNoteDetail(int NoteId);
        (int NoteId,decimal SinglePrice) SaveNote(int userId, Purchase_OuterNote ent);
        Purchase_OuterNoteApproval ApproveNote(Purchase_OuterNoteApproval entity, UserCache userinfo,int SendUser,string SendUserName,int step);
        List<Purchase_OuterNote> GetRelationList(List<int> NoteIds);

        List<Purchase_OuterNote> GetPreRelationNoteList();
        decimal FinishOuterNote(int NoteId,decimal RealMoney,UserCache userCache);
        List<Purchase_OuterNote> GetAllList();
    }
}
